package edu.ctbu.labtest.dao;

import edu.ctbu.labtest.domain.Teacher;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/*老师仓库接口*/
public interface TeacherRepository extends JpaRepository<Teacher,Long> {
    public List<Teacher> findByName(String name);
}
